package com.shopmall.goods.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shopmall.goods.entity.Material;


import java.util.List;

public interface IMaterialService {
    /**
     * 分页查询素材
     * @param material
     * @return
     */
    IPage<Material> materialPageList(Material material);

    /**
     * 添加素材
     * @param material
     * @return
     */
    int addMaterial(Material material);

    /**
     * 修改素材分类
     * @param material
     * @return
     */
    int updateMaterialClassify(List<Material> material);

    /**
     * 删除素材
     * @param materials
     * @return
     */
    int deleteMaterIalList(List<Material> materials);
}
